<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pytils</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th bgcolor="#70b0f0" class="navbar-select"
          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;pytils
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript: void(0);" class="privatelink"
    onclick="toggle_private();">hide private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pytils-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pytils-module.html">Package pytils</a></h1>
<pre class="py-src">
<span class="py-lineno"> 1</span>  <span class="py-line"><span class="py-comment"># -*- coding: utf-8 -*-</span> </span>
<span class="py-lineno"> 2</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># License: GNU GPL2 </span> </span>
<span class="py-lineno"> 3</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># Author: Pythy &lt;the.pythy@gmail.com&gt;</span> </span>
<span class="py-lineno"> 4</span>  <span class="py-line"><span class="py-comment"></span><span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 5</span>  <span class="py-line"><span class="py-docstring">Simple processing for russian strings</span> </span>
<span class="py-lineno"> 6</span>  <span class="py-line"><span class="py-docstring">"""</span> </span>
<span class="py-lineno"> 7</span>  <span class="py-line"> </span>
<span class="py-lineno"> 8</span>  <span class="py-line"><span id="link-0" class="py-name"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="doclink('link-0', '__id__', 'Variable pytils.__id__=pytils-module.html#__id__,Variable pytils.dt.__id__=pytils.dt-module.html#__id__,Variable pytils.numeral.__id__=pytils.numeral-module.html#__id__,Variable pytils.templatetags.__id__=pytils.templatetags-module.html#__id__,Variable pytils.templatetags.pytils_dt.__id__=pytils.templatetags.pytils_dt-module.html#__id__,Variable pytils.templatetags.pytils_numeral.__id__=pytils.templatetags.pytils_numeral-module.html#__id__,Variable pytils.templatetags.pytils_translit.__id__=pytils.templatetags.pytils_translit-module.html#__id__,Variable pytils.test.__id__=pytils.test-module.html#__id__,Variable pytils.test.test_dt.__id__=pytils.test.test_dt-module.html#__id__,Variable pytils.test.test_numeral.__id__=pytils.test.test_numeral-module.html#__id__,Variable pytils.test.test_translit.__id__=pytils.test.test_translit-module.html#__id__,Variable pytils.test.test_utils.__id__=pytils.test.test_utils-module.html#__id__,Variable pytils.translit.__id__=pytils.translit-module.html#__id__,Variable pytils.utils.__id__=pytils.utils-module.html#__id__'); return false;">__id__</a></span></span> <span class="py-op">=</span> <span id="link-1" class="py-name"><a title="pytils.__revision__
pytils.dt.__revision__
pytils.numeral.__revision__
pytils.templatetags.__revision__
pytils.templatetags.pytils_dt.__revision__
pytils.templatetags.pytils_numeral.__revision__
pytils.templatetags.pytils_translit.__revision__
pytils.test.__revision__
pytils.test.test_dt.__revision__
pytils.test.test_numeral.__revision__
pytils.test.test_translit.__revision__
pytils.test.test_utils.__revision__
pytils.translit.__revision__
pytils.utils.__revision__" class="py-name" href="#" onclick="doclink('link-1', '__revision__', 'Variable pytils.__revision__=pytils-module.html#__revision__,Variable pytils.dt.__revision__=pytils.dt-module.html#__revision__,Variable pytils.numeral.__revision__=pytils.numeral-module.html#__revision__,Variable pytils.templatetags.__revision__=pytils.templatetags-module.html#__revision__,Variable pytils.templatetags.pytils_dt.__revision__=pytils.templatetags.pytils_dt-module.html#__revision__,Variable pytils.templatetags.pytils_numeral.__revision__=pytils.templatetags.pytils_numeral-module.html#__revision__,Variable pytils.templatetags.pytils_translit.__revision__=pytils.templatetags.pytils_translit-module.html#__revision__,Variable pytils.test.__revision__=pytils.test-module.html#__revision__,Variable pytils.test.test_dt.__revision__=pytils.test.test_dt-module.html#__revision__,Variable pytils.test.test_numeral.__revision__=pytils.test.test_numeral-module.html#__revision__,Variable pytils.test.test_translit.__revision__=pytils.test.test_translit-module.html#__revision__,Variable pytils.test.test_utils.__revision__=pytils.test.test_utils-module.html#__revision__,Variable pytils.translit.__revision__=pytils.translit-module.html#__revision__,Variable pytils.utils.__revision__=pytils.utils-module.html#__revision__'); return false;">__revision__</a></span></span> <span class="py-op">=</span> <span class="py-string">"$Id: __init__.py 35 2006-10-28 17:30:17Z the.pythy $"</span> </span>
<span class="py-lineno"> 9</span>  <span class="py-line"><span id="link-2" class="py-name"><a title="pytils.__url__
pytils.dt.__url__
pytils.numeral.__url__
pytils.templatetags.__url__
pytils.templatetags.pytils_dt.__url__
pytils.templatetags.pytils_numeral.__url__
pytils.templatetags.pytils_translit.__url__
pytils.test.__url__
pytils.test.test_dt.__url__
pytils.test.test_numeral.__url__
pytils.test.test_translit.__url__
pytils.test.test_utils.__url__
pytils.translit.__url__
pytils.utils.__url__" class="py-name" href="#" onclick="doclink('link-2', '__url__', 'Variable pytils.__url__=pytils-module.html#__url__,Variable pytils.dt.__url__=pytils.dt-module.html#__url__,Variable pytils.numeral.__url__=pytils.numeral-module.html#__url__,Variable pytils.templatetags.__url__=pytils.templatetags-module.html#__url__,Variable pytils.templatetags.pytils_dt.__url__=pytils.templatetags.pytils_dt-module.html#__url__,Variable pytils.templatetags.pytils_numeral.__url__=pytils.templatetags.pytils_numeral-module.html#__url__,Variable pytils.templatetags.pytils_translit.__url__=pytils.templatetags.pytils_translit-module.html#__url__,Variable pytils.test.__url__=pytils.test-module.html#__url__,Variable pytils.test.test_dt.__url__=pytils.test.test_dt-module.html#__url__,Variable pytils.test.test_numeral.__url__=pytils.test.test_numeral-module.html#__url__,Variable pytils.test.test_translit.__url__=pytils.test.test_translit-module.html#__url__,Variable pytils.test.test_utils.__url__=pytils.test.test_utils-module.html#__url__,Variable pytils.translit.__url__=pytils.translit-module.html#__url__,Variable pytils.utils.__url__=pytils.utils-module.html#__url__'); return false;">__url__</a></span></span> <span class="py-op">=</span> <span class="py-string">"$URL: https://pythy.googlecode.com/svn/trunk/pytils/pytils/__init__.py $"</span> </span>
<span class="py-lineno">10</span>  <span class="py-line"><span class="py-name">__all__</span> <span class="py-op">=</span> <span class="py-op">[</span><span class="py-string">"numeral"</span><span class="py-op">,</span> <span class="py-string">"dt"</span><span class="py-op">,</span> <span class="py-string">"translit"</span><span class="py-op">,</span> <span class="py-string">"test"</span><span class="py-op">,</span> <span class="py-string">"utils"</span><span class="py-op">]</span> </span>
<span class="py-lineno">11</span>  <span class="py-line"> </span>
<span class="py-lineno">12</span>  <span class="py-line"><span class="py-comment"># &#1074;&#1077;&#1088;&#1089;&#1080;&#1103; PyTils</span> </span>
<span class="py-lineno">13</span>  <span class="py-line"><span class="py-comment"></span><span id="link-3" class="py-name"><a title="pytils.VERSION_MAJOR" class="py-name" href="#" onclick="doclink('link-3', 'VERSION_MAJOR', 'Variable pytils.VERSION_MAJOR=pytils-module.html#VERSION_MAJOR'); return false;">VERSION_MAJOR</a></span></span> <span class="py-op">=</span> <span class="py-number">0</span>  <span class="py-comment">#: Major version of PyTils (i.e. branch)</span> </span>
<span class="py-lineno">14</span>  <span class="py-line"><span id="link-4" class="py-name"><a title="pytils.VERSION_MINOR" class="py-name" href="#" onclick="doclink('link-4', 'VERSION_MINOR', 'Variable pytils.VERSION_MINOR=pytils-module.html#VERSION_MINOR'); return false;">VERSION_MINOR</a></span></span> <span class="py-op">=</span> <span class="py-number">2</span>  <span class="py-comment">#: Minor version of PyTils (i.e. release)</span> </span>
<span class="py-lineno">15</span>  <span class="py-line"><span id="link-5" class="py-name"><a title="pytils.VERSION_TINY" class="py-name" href="#" onclick="doclink('link-5', 'VERSION_TINY', 'Variable pytils.VERSION_TINY=pytils-module.html#VERSION_TINY'); return false;">VERSION_TINY</a></span></span> <span class="py-op">=</span> <span class="py-number">0</span>   <span class="py-comment">#: Tiny version of PyTils (i.e. subrelease)</span> </span>
<span class="py-lineno">16</span>  <span class="py-line"> </span>
<span class="py-lineno">17</span>  <span class="py-line"><span id="link-6" class="py-name"><a title="pytils.VERSION" class="py-name" href="#" onclick="doclink('link-6', 'VERSION', 'Variable pytils.VERSION=pytils-module.html#VERSION'); return false;">VERSION</a></span></span> <span class="py-op">=</span> <span class="py-string">"%d.%d.%d"</span> <span class="py-op">%</span> <span class="py-op">(</span><span id="link-7" class="py-name"><a title="pytils.VERSION_MAJOR" class="py-name" href="#" onclick="doclink('link-7', 'VERSION_MAJOR', 'Variable pytils.VERSION_MAJOR=pytils-module.html#VERSION_MAJOR'); return false;">VERSION_MAJOR</a></span></span><span class="py-op">,</span> <span id="link-8" class="py-name"><a title="pytils.VERSION_MINOR" class="py-name" href="#" onclick="doclink('link-8', 'VERSION_MINOR', 'Variable pytils.VERSION_MINOR=pytils-module.html#VERSION_MINOR'); return false;">VERSION_MINOR</a></span></span><span class="py-op">,</span> <span id="link-9" class="py-name"><a title="pytils.VERSION_TINY" class="py-name" href="#" onclick="doclink('link-9', 'VERSION_TINY', 'Variable pytils.VERSION_TINY=pytils-module.html#VERSION_TINY'); return false;">VERSION_TINY</a></span></span><span class="py-op">)</span>  <span class="py-comment">#: Version's string</span> </span>
<span class="py-lineno">18</span>  <span class="py-line"> </span>
<span class="py-lineno">19</span>  <span class="py-line"><span id="link-10" class="py-name"><a title="pytils.REL_DATE" class="py-name" href="#" onclick="doclink('link-10', 'REL_DATE', 'Variable pytils.REL_DATE=pytils-module.html#REL_DATE'); return false;">REL_DATE</a></span></span> <span class="py-op">=</span> <span class="py-string">'20061029'</span>  <span class="py-comment">#: Release date</span> </span>
<span class="py-lineno">20</span>  <span class="py-line"> </span>
<a name="_get_svn_date_from_id"></a><div id="_get_svn_date_from_id-def"><span class="py-lineno">21</span> <a class="py-toggle" href="#" id="_get_svn_date_from_id-toggle" onclick="toggle('_get_svn_date_from_id'); return false;">-</a><span class="py-line"><span class="py-keyword">def</span> <a class="py-def-name" href="pytils-module.html#_get_svn_date_from_id">_get_svn_date_from_id</a><span class="py-op">(</span><span class="py-param">id_string</span><span class="py-op">)</span><span class="py-op">:</span> </span>
</div><div id="_get_svn_date_from_id-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="_get_svn_date_from_id-expanded"><span class="py-lineno">22</span>  <span class="py-line">    <span class="py-docstring">"""Returns date of last update (extract from __id__)"""</span> </span>
<span class="py-lineno">23</span>  <span class="py-line">    <span class="py-keyword">if</span> <span class="py-name">id_string</span><span class="py-op">.</span><span class="py-name">replace</span><span class="py-op">(</span><span class="py-string">'$'</span><span class="py-op">,</span> <span class="py-string">''</span><span class="py-op">)</span> <span class="py-op">==</span> <span class="py-string">"Id"</span><span class="py-op">:</span> </span>
<span class="py-lineno">24</span>  <span class="py-line">        <span class="py-keyword">return</span> <span id="link-11" class="py-name"><a title="pytils.REL_DATE" class="py-name" href="#" onclick="doclink('link-11', 'REL_DATE', 'Variable pytils.REL_DATE=pytils-module.html#REL_DATE'); return false;">REL_DATE</a></span></span> </span>
<span class="py-lineno">25</span>  <span class="py-line">    <span class="py-keyword">else</span><span class="py-op">:</span> </span>
<span class="py-lineno">26</span>  <span class="py-line">        <span class="py-keyword">return</span> <span class="py-name">id_string</span><span class="py-op">.</span><span class="py-name">split</span><span class="py-op">(</span><span class="py-op">)</span><span class="py-op">[</span><span class="py-number">3</span><span class="py-op">]</span><span class="py-op">.</span><span class="py-name">replace</span><span class="py-op">(</span><span class="py-string">'-'</span><span class="py-op">,</span> <span class="py-string">''</span><span class="py-op">)</span> </span>
</div><span class="py-lineno">27</span>  <span class="py-line"> </span>
<span class="py-lineno">28</span>  <span class="py-line"> </span>
<span class="py-lineno">29</span>  <span class="py-line"><span id="link-12" class="py-name"><a title="pytils._module_dates" class="py-name" href="#" onclick="doclink('link-12', '_module_dates', 'Variable pytils._module_dates=pytils-module.html#_module_dates'); return false;">_module_dates</a></span></span> <span class="py-op">=</span> <span class="py-op">[</span><span id="link-13" class="py-name"><a title="pytils._get_svn_date_from_id" class="py-name" href="#" onclick="doclink('link-13', '_get_svn_date_from_id', 'Function pytils._get_svn_date_from_id()=pytils-module.html#_get_svn_date_from_id'); return false;">_get_svn_date_from_id</a></span></span><span class="py-op">(</span><span id="link-14" class="py-name"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="doclink('link-14', '__id__', 'Variable pytils.__id__=pytils-module.html#__id__,Variable pytils.dt.__id__=pytils.dt-module.html#__id__,Variable pytils.numeral.__id__=pytils.numeral-module.html#__id__,Variable pytils.templatetags.__id__=pytils.templatetags-module.html#__id__,Variable pytils.templatetags.pytils_dt.__id__=pytils.templatetags.pytils_dt-module.html#__id__,Variable pytils.templatetags.pytils_numeral.__id__=pytils.templatetags.pytils_numeral-module.html#__id__,Variable pytils.templatetags.pytils_translit.__id__=pytils.templatetags.pytils_translit-module.html#__id__,Variable pytils.test.__id__=pytils.test-module.html#__id__,Variable pytils.test.test_dt.__id__=pytils.test.test_dt-module.html#__id__,Variable pytils.test.test_numeral.__id__=pytils.test.test_numeral-module.html#__id__,Variable pytils.test.test_translit.__id__=pytils.test.test_translit-module.html#__id__,Variable pytils.test.test_utils.__id__=pytils.test.test_utils-module.html#__id__,Variable pytils.translit.__id__=pytils.translit-module.html#__id__,Variable pytils.utils.__id__=pytils.utils-module.html#__id__'); return false;">__id__</a></span></span><span class="py-op">)</span><span class="py-op">,</span> <span class="py-op">]</span>  <span class="py-comment">#: Last changes in submodules</span> </span>
<span class="py-lineno">30</span>  <span class="py-line"> </span>
<span class="py-lineno">31</span>  <span class="py-line"><span class="py-comment"># &#1080;&#1084;&#1087;&#1086;&#1088;&#1090; &#1084;&#1086;&#1076;&#1091;&#1083;&#1077;&#1081;</span> </span>
<span class="py-lineno">32</span>  <span class="py-line"><span class="py-comment"></span><span class="py-keyword">for</span> <span id="link-15" class="py-name"><a title="pytils._module_name" class="py-name" href="#" onclick="doclink('link-15', '_module_name', 'Variable pytils._module_name=pytils-module.html#_module_name'); return false;">_module_name</a></span></span> <span class="py-keyword">in</span> <span class="py-name">__all__</span><span class="py-op">:</span> </span>
<span class="py-lineno">33</span>  <span class="py-line">    <span class="py-name">_imported_module</span> <span class="py-op">=</span> <span class="py-name">__import__</span><span class="py-op">(</span><span class="py-string">"pytils."</span><span class="py-op">+</span><span id="link-16" class="py-name"><a title="pytils._module_name" class="py-name" href="#" onclick="doclink('link-16', '_module_name', 'Variable pytils._module_name=pytils-module.html#_module_name'); return false;">_module_name</a></span></span><span class="py-op">,</span> </span>
<span class="py-lineno">34</span>  <span class="py-line">                                   <span class="py-name">globals</span><span class="py-op">(</span><span class="py-op">)</span><span class="py-op">,</span> </span>
<span class="py-lineno">35</span>  <span class="py-line">                                   <span class="py-name">locals</span><span class="py-op">(</span><span class="py-op">)</span><span class="py-op">,</span> </span>
<span class="py-lineno">36</span>  <span class="py-line">                                   <span class="py-op">[</span><span class="py-string">"pytils"</span><span class="py-op">]</span><span class="py-op">)</span> </span>
<span class="py-lineno">37</span>  <span class="py-line">    <span id="link-17" class="py-name"><a title="pytils._module_dates" class="py-name" href="#" onclick="doclink('link-17', '_module_dates', 'Variable pytils._module_dates=pytils-module.html#_module_dates'); return false;">_module_dates</a></span></span><span class="py-op">.</span><span class="py-name">append</span><span class="py-op">(</span><span id="link-18" class="py-name"><a title="pytils._get_svn_date_from_id" class="py-name" href="#" onclick="doclink('link-18', '_get_svn_date_from_id', 'Function pytils._get_svn_date_from_id()=pytils-module.html#_get_svn_date_from_id'); return false;">_get_svn_date_from_id</a></span></span><span class="py-op">(</span><span class="py-name">_imported_module</span><span class="py-op">.</span><span id="link-19" class="py-name"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="doclink('link-19', '__id__', 'Variable pytils.__id__=pytils-module.html#__id__,Variable pytils.dt.__id__=pytils.dt-module.html#__id__,Variable pytils.numeral.__id__=pytils.numeral-module.html#__id__,Variable pytils.templatetags.__id__=pytils.templatetags-module.html#__id__,Variable pytils.templatetags.pytils_dt.__id__=pytils.templatetags.pytils_dt-module.html#__id__,Variable pytils.templatetags.pytils_numeral.__id__=pytils.templatetags.pytils_numeral-module.html#__id__,Variable pytils.templatetags.pytils_translit.__id__=pytils.templatetags.pytils_translit-module.html#__id__,Variable pytils.test.__id__=pytils.test-module.html#__id__,Variable pytils.test.test_dt.__id__=pytils.test.test_dt-module.html#__id__,Variable pytils.test.test_numeral.__id__=pytils.test.test_numeral-module.html#__id__,Variable pytils.test.test_translit.__id__=pytils.test.test_translit-module.html#__id__,Variable pytils.test.test_utils.__id__=pytils.test.test_utils-module.html#__id__,Variable pytils.translit.__id__=pytils.translit-module.html#__id__,Variable pytils.utils.__id__=pytils.utils-module.html#__id__'); return false;">__id__</a></span></span><span class="py-op">)</span><span class="py-op">)</span> </span>
<span class="py-lineno">38</span>  <span class="py-line"> </span>
<span class="py-lineno">39</span>  <span class="py-line"><span id="link-20" class="py-name"><a title="pytils.SVN_DATE" class="py-name" href="#" onclick="doclink('link-20', 'SVN_DATE', 'Variable pytils.SVN_DATE=pytils-module.html#SVN_DATE'); return false;">SVN_DATE</a></span></span> <span class="py-op">=</span> <span class="py-name">max</span><span class="py-op">(</span><span id="link-21" class="py-name"><a title="pytils._module_dates" class="py-name" href="#" onclick="doclink('link-21', '_module_dates', 'Variable pytils._module_dates=pytils-module.html#_module_dates'); return false;">_module_dates</a></span></span><span class="py-op">)</span>  <span class="py-comment">#: Last change in submodules</span> </span>
<span class="py-lineno">40</span>  <span class="py-line"> </span>
<span class="py-lineno">41</span>  <span class="py-line"><span class="py-comment"># &#1077;&#1089;&#1083;&#1080; &#1074;&#1079;&#1103;&#1083;&#1080; &#1089; svn, &#1090;&#1086; &#1074;&#1077;&#1088;&#1089;&#1080;&#1103; &#1073;&#1091;&#1076;&#1077;&#1090;</span> </span>
<span class="py-lineno">42</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># X.Y.Z-svnYYYYMMDD, &#1075;&#1076;&#1077; X.Y.Z - &#1085;&#1086;&#1084;&#1077;&#1088; &#1086;&#1088;&#1080;&#1075;&#1080;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;&#1081; &#1074;&#1077;&#1088;&#1089;&#1080;&#1080;,</span> </span>
<span class="py-lineno">43</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># &#1072; YYYYMMDD - &#1076;&#1072;&#1090;&#1072; &#1087;&#1086;&#1089;&#1083;&#1077;&#1076;&#1085;&#1077;&#1075;&#1086; &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1080;&#1103; &#1074; &#1084;&#1086;&#1076;&#1091;&#1083;&#1103;&#1093;</span> </span>
<span class="py-lineno">44</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># &#1077;&#1076;&#1080;&#1085;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1072;&#1103; &#1089;&#1083;&#1086;&#1078;&#1085;&#1086;&#1089;&#1090;&#1100; &#1086;&#1089;&#1090;&#1072;&#1077;&#1090;&#1089;&#1103;, &#1077;&#1089;&#1083;&#1080; &#1074;&#1079;&#1103;&#1083;&#1080; &#1085;&#1077; &#1095;&#1077;&#1088;&#1077;&#1079; svn,</span> </span>
<span class="py-lineno">45</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># &#1072; &#1095;&#1077;&#1088;&#1077;&#1079; webdav, &#1074; &#1101;&#1090;&#1086;&#1084; &#1089;&#1083;&#1091;&#1095;&#1072;&#1077; Id &#1085;&#1077; &#1087;&#1088;&#1086;&#1089;&#1090;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103; &#1080; &#1074;&#1077;&#1088;&#1089;&#1080;&#1103;</span> </span>
<span class="py-lineno">46</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># &#1073;&#1091;&#1076;&#1077;&#1090; &#1086;&#1088;&#1080;&#1075;&#1080;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;&#1081;. &#1069;&#1090;&#1086; &#1084;&#1086;&#1078;&#1085;&#1086; &#1086;&#1073;&#1086;&#1081;&#1090;&#1080;, &#1089;&#1082;&#1072;&#1078;&#1077;&#1084;, &#1091;&#1095;&#1080;&#1090;&#1099;&#1074;&#1072;&#1103; &#1076;&#1072;&#1090;&#1091;</span> </span>
<span class="py-lineno">47</span>  <span class="py-line"><span class="py-comment"></span><span class="py-comment"># &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1080;&#1103; &#1092;&#1072;&#1081;&#1083;&#1086;&#1074;, &#1085;&#1086; &#1103; &#1087;&#1086;&#1082;&#1072; &#1085;&#1077; &#1074;&#1080;&#1078;&#1091; &#1074; &#1101;&#1090;&#1086;&#1084; &#1089;&#1084;&#1099;&#1089;&#1083;&#1072;.</span> </span>
<span class="py-lineno">48</span>  <span class="py-line"><span class="py-comment"></span><span class="py-keyword">if</span> <span id="link-22" class="py-name"><a title="pytils.SVN_DATE" class="py-name" href="#" onclick="doclink('link-22', 'SVN_DATE', 'Variable pytils.SVN_DATE=pytils-module.html#SVN_DATE'); return false;">SVN_DATE</a></span></span> <span class="py-op">&gt;</span> <span id="link-23" class="py-name"><a title="pytils.REL_DATE" class="py-name" href="#" onclick="doclink('link-23', 'REL_DATE', 'Variable pytils.REL_DATE=pytils-module.html#REL_DATE'); return false;">REL_DATE</a></span></span><span class="py-op">:</span> </span>
<span class="py-lineno">49</span>  <span class="py-line">    <span id="link-24" class="py-name"><a title="pytils.VERSION" class="py-name" href="#" onclick="doclink('link-24', 'VERSION', 'Variable pytils.VERSION=pytils-module.html#VERSION'); return false;">VERSION</a></span></span> <span class="py-op">=</span> <span class="py-string">"%s-svn%s"</span> <span class="py-op">%</span> <span class="py-op">(</span><span id="link-25" class="py-name"><a title="pytils.VERSION" class="py-name" href="#" onclick="doclink('link-25', 'VERSION', 'Variable pytils.VERSION=pytils-module.html#VERSION'); return false;">VERSION</a></span></span><span class="py-op">,</span> <span id="link-26" class="py-name"><a title="pytils.SVN_DATE" class="py-name" href="#" onclick="doclink('link-26', 'SVN_DATE', 'Variable pytils.SVN_DATE=pytils-module.html#SVN_DATE'); return false;">SVN_DATE</a></span></span><span class="py-op">)</span>  <span class="py-comment">#: Version's string (with appended svndate)</span> </span>
<span class="py-lineno">50</span>  <span class="py-line"> </span><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th bgcolor="#70b0f0" class="navbar-select"
          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">Generated by Epydoc
        3.0alpha3 on Sun Oct 29 00:35:03 2006</td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
